import { ConstraintType, CSLine } from '@amcax/base';

export enum State {
  NONE,
  DRAW,
  FINISH,
}

export type MouseState = State.NONE | State.DRAW | State.FINISH;

export interface ExtrudeDialogProps {
  title: string;
  onClose: () => void;
  LineObj?: CSLine;
}
export type Constraint = {
  geoRelation?: ConstraintType;
  select?: number;
  lineLength?: number;
  lineAngle?: number;
};
export enum LinePickEve {
  SKETCH_PICK = 'SketchLine',
  LINE_INFO = 'LineInfo',
  SKETCH_SELECT_PICK = 'PickSelectInfo',
}
